package com.leyou.mapper;


import com.leyou.domain.Permission;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

public interface ListMapper extends BaseMapper<Permission> {

    /**
     * 查询用户权限列表中的一级模块，不包含子模块
     * @param pid
     * @return
     */
    List<Permission> selectPermission(Long pid);
}
